<extend name="desktop_default/template/base_index" />
<block name="area_header">
    <link rel="stylesheet" href="__CSS__/shopping/style.css">
</block>

<block name="area_top">
    <include file="desktop_default/template/user_bar" />
    <include file="desktop_default/template/shcart_bar" />
    <include file="desktop_default/template/nav_bar" />
</block>

<block name="area_content">
    <div class="shopping-wrap main2-content">
        <div class="splist-wrap">
            <div class="sp-list">
                <empty name="product_list">
                    <div class="empty-product">没有搜索到符合的商品哦~~~</div>
                </empty>
                <notempty name="product_list">
                    <div class="sp-order">
                        <dl>
                            <dt>排序：</dt>
                            <dd>
                                <if condition="I('order',10) eq 10">
                                    <a class="btn btn-order selected" href="javascript:void(0);">默认<i class="iconfont icon-arrowdown" style="display: none"></i></a>
                                    <else />
                                    <a class="btn btn-order" href="{:U('mengwu/index/search',array('s'=>I('s'),'order'=>10))}">默认<i class="iconfont icon-arrowdown" style="display: none"></i></a>
                                </if>
                            </dd>
                            <dd>
                                <if condition="I('order',10) eq 18">
                                    <a class="btn btn-order selected" href="javascript:void(0);">人气</a>
                                    <else/>
                                    <a class="btn btn-order" href="{:U('mengwu/index/search',array('s'=>I('s'),'order'=>18))}">人气</a>
                                </if>
                            </dd>
                            <dd>
                                <if condition="I('order',10) eq 11">
                                    <a class="btn btn-order selected" href="javascript:void(0);">销量</a>
                                    <else/>
                                    <a class="btn btn-order" href="{:U('mengwu/index/search',array('s'=>I('s'),'order'=>11))}">销量</a>
                                </if>
                            </dd>
                        </dl>
                    </div>
                    <ul>
                        <volist name="product_list" id="vo">
                            <li class="product-item">
                                <a class="sp-li" href="{:U('mengwu/spdetail/index',array('id'=>$vo['id']))}" target="_blank"></a>
                                <div class="sp-img"><img src="{$vo.img}"></div>
                                <div class="caption">
                                    <!--<em class="zhekou">8.8折/</em>-->
                                    <span>{$vo.name}</span>
                                </div>
                                <div class="price">
                                    <em class="rmb">￥</em></small>{$vo.price}
                                </div>
                            </li>
                        </volist>
                    </ul>
                    {$show}
                </notempty>
            </div>
        </div>
    </div>
</block>

<block name="area_footer">
    <include file="desktop_default/template/footer_ad" />
    <include file="desktop_default/template/footer_nav" />
    <include file="desktop_default/template/footer_bottom" />
</block>